﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master.Master" AutoEventWireup="true" CodeBehind="AddProduct.aspx.cs" Inherits="Web_cuiki.AddProduct" %>
<asp:Content ID="Content1" ContentPlaceHolderID="mainContent" runat="server">
    <div id="content">
        <div id="page-heading">
            <h1>
                Thểm sản phẩm</h1>
        </div>
        <table border="0" width="100%" cellpadding="0" cellspacing="0" id="content-table">
            <tr>
                <th rowspan="3" class="sized">
                    <img src="images/shared/side_shadowleft.jpg" width="20" height="300" alt="" />
                </th>
                <th class="topleft">
                </th>
                <td id="tbl-border-top">
                    &nbsp;
                </td>
                <th class="topright">
                </th>
                <th rowspan="3" class="sized">
                    <img src="images/shared/side_shadowright.jpg" width="20" height="300" alt="" />
                </th>
            </tr>
            <tr>
                <td id="tbl-border-left">
                </td>
                <td>
                    <!--  start content-table-inner -->
                    <div id="content-table-inner">
                        <table border="0" width="100%" cellpadding="0" cellspacing="0">
                            <tr valign="top">
                                <td id="productInfo">
                                    <!--  start step-holder -->
                                    <div id="step-holder">
                                        <div class="step-no">
                                            1</div>
                                        <div class="step-dark-left">
                                            <a href="">Add product details</a></div>
                                        <div class="step-dark-right">
                                            &nbsp;</div>
                                        <div class="step-no-off">
                                            2</div>
                                        <div class="step-light-left">
                                            Select related products</div>
                                        <div class="step-light-right">
                                            &nbsp;</div>
                                        <div class="step-no-off">
                                            3</div>
                                        <div class="step-light-left">
                                            Preview</div>
                                        <div class="step-light-round">
                                            &nbsp;</div>
                                        <div class="clear">
                                        </div>
                                    </div>
                                    <!--  end step-holder -->
                                    <!-- start id-form -->
                                    <table border="0" cellpadding="0" cellspacing="0" id="id-form">
                                        <tr>
                                            <th valign="top">
                                                Tên sản phẩm:
                                            </th>
                                            <td>
                                                <asp:TextBox ID="txt_Ten" runat="server"></asp:TextBox>
                                            </td>
                                            <td style="width: 286px">                                             
                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                                ControlToValidate="txt_Ten"
                                                ForeColor="Red"
                                                    ErrorMessage="Vui lòng điền ô này"></asp:RequiredFieldValidator>
                                                    </td>
                                        </tr>
                                        <tr>
                                            <th valign="top">
                                                Kiểu sản phẩm:
                                            </th>
                                            <td><asp:DropDownList ID="list_LoaiSP" runat="server" 
                                                    Width="123px" >
                                                </asp:DropDownList>
                                            </td>
                                            <td style="width: 286px">
                                            </td>
                                        </tr>
                                        <tr>
                                            <th valign="top">
                                                Giá:
                                            </th>
                                            <td>
                                                <asp:TextBox ID="txt_Gia" runat="server"></asp:TextBox>
                                            </td>
                                            <td style="width: 286px">
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                                                ControlToValidate="txt_Gia"
                                                ForeColor="Red"
                                                    ErrorMessage="Vui lòng điền ô này"></asp:RequiredFieldValidator>
                                                    
                                                <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
                                                ControlToValidate="txt_Gia"
                                                 ValidationExpression="[-+]?[0-9]*\.?[0-9]*"
                                                ForeColor="Red"
                                                    ErrorMessage="Vui lòng điền số tiền (vd 12.3)"></asp:RegularExpressionValidator>
                                            </td>
                                        </tr>
                                        <tr>
                                            <th valign="top">
                                                Mô tả:
                                            </th>
                                            <td  colspan="2" >
                                                <asp:TextBox ID="txt_Mota" runat="server" Width="100%"></asp:TextBox>
                                            </td>
                                            
                                        </tr>
                                        <tr>
                                            <th valign="top">
                                                Hình ảnh:
                                            </th>
                                            <td colspan="2" >
                                                <asp:TextBox ID="txt_HinhAnh" runat="server" Width="100%"></asp:TextBox>
                                            </td>
                                            
                                        </tr>
                                        <tr>
                                            <th>
                                                Tác Giả:
                                            </th>
                                            <td>
                                                <asp:DropDownList ID="list_TacGia" runat="server" Width="123px">
                                                </asp:DropDownList>
                                            </td>
                                            <td style="width: 286px">
                                                &nbsp;</td>
                                        </tr>
                                        <tr>
                                            <th>
                                                Kiểu khuyến mãi:
                                            </th>
                                            <td>
                                                <asp:DropDownList ID="list_KhuyenMai" runat="server" 
                                                    Width="123px">
                                                </asp:DropDownList>
                                            </td>
                                            <td style="width: 286px">
                                            </td>
                                        </tr>
                                        <tr>
                                            <th>
                                                Số lượng:
                                            </th>
                                            <td>
                                                <asp:TextBox ID="txt_SoLuong" runat="server" Width="123px"></asp:TextBox>
                                            </td>
                                            <td style="width: 286px">
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                                                ControlToValidate="txt_SoLuong"
                                                ForeColor="Red"
                                                    ErrorMessage="Vui lòng điền ô này"></asp:RequiredFieldValidator>
                                                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                                                 ControlToValidate="txt_SoLuong"
                                                 ValidationExpression="^\d{0,9}$"
                                                ForeColor="Red"
                                                    ErrorMessage="Vui lòng điền số nguyên"></asp:RegularExpressionValidator>
                                            </td>
                                        </tr>
                                        <tr>
                                            <th>
                                               
                                                Thể Loại</th>
                                            <td valign="top">
                                                
                                                <asp:DropDownList ID="list_TheLoai" runat="server"  Width="123px">
                                                </asp:DropDownList>
                                            </td>
                                            <td style="width: 286px">
                                            </td>
                                        </tr>
                                       
                                        <tr>
                                            <th valign="top">
                                                Ngày phát hành</th>
                                            <td>
                                                ngày
                                                <asp:DropDownList ID="list_Ngay" runat="server" Width="45px">
                                                    <asp:ListItem>1</asp:ListItem>
                                                    <asp:ListItem>2</asp:ListItem>
                                                    <asp:ListItem>3</asp:ListItem>
                                                    <asp:ListItem>4</asp:ListItem>
                                                    <asp:ListItem>5</asp:ListItem>
                                                    <asp:ListItem>6</asp:ListItem>
                                                    <asp:ListItem>7</asp:ListItem>
                                                    <asp:ListItem>8</asp:ListItem>
                                                    <asp:ListItem>9</asp:ListItem>
                                                    <asp:ListItem>10</asp:ListItem>
                                                    <asp:ListItem>11</asp:ListItem>
                                                    <asp:ListItem>12</asp:ListItem>
                                                    <asp:ListItem Value="13"></asp:ListItem>
                                                    <asp:ListItem Value="14"></asp:ListItem>
                                                    <asp:ListItem Value="15"></asp:ListItem>
                                                    <asp:ListItem Value="16"></asp:ListItem>
                                                    <asp:ListItem Value="17"></asp:ListItem>
                                                    <asp:ListItem Value="18"></asp:ListItem>
                                                    <asp:ListItem>19</asp:ListItem>
                                                    <asp:ListItem>20</asp:ListItem>
                                                    <asp:ListItem>21</asp:ListItem>
                                                    <asp:ListItem>22</asp:ListItem>
                                                    <asp:ListItem>23</asp:ListItem>
                                                    <asp:ListItem>24</asp:ListItem>
                                                    <asp:ListItem>25</asp:ListItem>
                                                    <asp:ListItem>26</asp:ListItem>
                                                    <asp:ListItem>27</asp:ListItem>
                                                    <asp:ListItem>28</asp:ListItem>
                                                    <asp:ListItem>29</asp:ListItem>
                                                    <asp:ListItem>30</asp:ListItem>
                                                    <asp:ListItem>31</asp:ListItem>
                                                </asp:DropDownList>
&nbsp;tháng
                                                <asp:DropDownList ID="list_Thang" runat="server">
                                                    <asp:ListItem>1</asp:ListItem>
                                                    <asp:ListItem>2</asp:ListItem>
                                                    <asp:ListItem>3</asp:ListItem>
                                                    <asp:ListItem>4</asp:ListItem>
                                                    <asp:ListItem>5</asp:ListItem>
                                                    <asp:ListItem>6</asp:ListItem>
                                                    <asp:ListItem>7</asp:ListItem>
                                                    <asp:ListItem>8</asp:ListItem>
                                                    <asp:ListItem>9</asp:ListItem>
                                                    <asp:ListItem>10</asp:ListItem>
                                                    <asp:ListItem>11</asp:ListItem>
                                                    <asp:ListItem>12</asp:ListItem>
                                                </asp:DropDownList>
&nbsp;năm
                                                <asp:DropDownList ID="ddlNam" runat="server">
                                                </asp:DropDownList>
                                            </td>
                                            <td style="width: 286px">
                                                &nbsp;</td>
                                        </tr>
                                        <tr>
                                            <th valign="top">
                                                &nbsp;</th>
                                            <td>
                                                <asp:Button ID="btn_Them" runat="server" onclick="btn_Them_Click" 
                                                    Text="Thêm San Pham" />
                                            </td>
                                            <td style="width: 286px">
                                                &nbsp;</td>
                                        </tr>
                                        <tr>
                                            <th valign="top">
                                                &nbsp;</th>
                                            <td>
                                                <asp:Label ID="thongBao" runat="server" Font-Bold="True" Font-Size="Medium" 
                                                    ForeColor="Red"></asp:Label>
                                            </td>
                                            <td style="width: 286px">
                                                &nbsp;</td>
                                        </tr>
                                        </table>
                                    <!-- end id-form  -->
                                </td>
                                <td>
                                    <!--  start related-activities -->
                                    <div id="related-activities">
                                        <!--  start related-act-top -->
                                        <div id="related-act-top">
                                            <img src="images/forms/header_related_act.gif" width="271" height="43" alt="" />
                                        </div>
                                        <!-- end related-act-top -->
                                        <!--  start related-act-bottom -->
                                        <div id="related-act-bottom">
                                            <!--  start related-act-inner -->
                                            <div id="related-act-inner">
                                                <div class="left">
                                                    <a href="Administrator.aspx">
                                                        <img src="images/forms/icon_plus.gif" width="21" height="21" alt="" /></a></div>
                                                <div class="right">
                                                    <h5>
                                                        Xem tất cả sản phầm</h5>
                                                   
                                                </div>
                                                <div class="clear">
                                                </div>
                                                <div class="lines-dotted-short">
                                                </div>
                                                
                                                <div class="left">
                                                    <a href="">
                                                        <img src="images/forms/icon_edit.gif" width="21" height="21" alt="" /></a></div>
                                                <div class="right">
                                                    <h5>
                                                        Tìm sản phẩm</h5>
                                                    
                                                </div>
                                                <div class="clear">
                                                </div>
                                            </div>
                                            <!-- end related-act-inner -->
                                            <div class="clear">
                                            </div>
                                        </div>
                                        <!-- end related-act-bottom -->
                                    </div>
                                    <!-- end related-activities -->
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <img src="images/shared/blank.gif" width="695" height="1" alt="blank" />
                                </td>
                                <td>
                                </td>
                            </tr>
                        </table>
                        <div class="clear">
                        </div>
                    </div>
                    <!--  end content-table-inner  -->
                </td>
                <td id="tbl-border-right">
                </td>
            </tr>
            <tr>
                <th class="sized bottomleft">
                </th>
                <td id="tbl-border-bottom">
                    &nbsp;
                </td>
                <th class="sized bottomright">
                </th>
            </tr>
        </table>
        <div class="clear">
            &nbsp;</div>
    </div>
    <script language="javascript" type="text/javascript">
// <![CDATA[

        

        

// ]]>
    </script>

</asp:Content>
